package cn.fengzhilun.javase.day04;

public class Person {
	String name;
	int age ;
	boolean isMarried;
	Pat p;
	
	public Person(String name){
		System.out.println("对象创建完成了");
		this.name=name;
		age=13;
		isMarried=false;
		
	}
	public Person() {
		//name="马云";
		//age=20;
		//isMarried=true;
		this("风清扬");
	}
	public void setName(String name) {
		this.name=name;
		
	}
	public String getName() {
		return name ;
	}
}
